package com.gdsdxy.bookshop.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@ApiModel("生成订单对象")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class GenerateOrderDto {

    @ApiModelProperty("书籍编号")
    private Integer bookid;

    @ApiModelProperty("单个商品数量")
    private Integer amount;

    @ApiModelProperty("地址编号")
    private Integer addressid;

}
